<%@ page language="java" contentType="text/html; charset=gbk"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ include file="/common/taglib.jsp" %>
<%@ include file="/common/common.jsp" %>    
<base href="<%=basePath%>">
<title>新增案例</title>
<script type="text/javascript">
	function check(){
		return true ;
	}
</script>
</head>
<body>
<div class="container">
<h2 class="bg-info">新增案例</h2>	
<table class="table table-bordered table-hover">
<thead>
<tr>
	<th>楼盘名称</th>
	<th>面积</th>
	<th>风格</th>
	<th>户型</th>
	<th>总造价</th>
	<th>其他</th>
	<th>操作</th>
</tr>
</thead>
<c:forEach items="${cs }" var="c">
	<tr>
		<td>
			${c.houseName}	
		</td>
		<td>${c.size}</td>
		<td>${c.styleValue }</td>
		<td>${c.houseTypeValue }</td>
		<td>${c.budget }</td>
		<td>${c.cDesc }</td>
		<td><a href="case/caseImgList.html?caseId=${c.id }">添加图片</a> | <a href="#">编辑</a> | <a href="#">删除</a> | <c:if test="${c.play ==0 }"><a href="play/add.html?playType=case&playId=${c.id }&title=${c.houseName}${c.size}">设置为轮播</a></c:if><c:if test="${c.play >0 }"><a href="javascript:void(0)">已为轮播项</a></c:if></td>
	</tr>
</c:forEach>
</table>
<br><a href="">返回主页</a>
</div>
</body>
</html>
